{% extends 'HrOnlineBundle::layout.html.twig' %}

{% block body %}

    <header>
        <h1>{% trans %}Reset Password{% endtrans %}</h1>
    </header>

	{% include 'HrOnlineBundle:Default:_flashes.html.twig' %}

    <form action="{{ path('hr_online_user_reset_password') }}" method="post" {{ form_enctype(form) }} class="register" id="resetPasswordForm">
        {{ form_errors(form) }}
		
		
		<div class="row">
			{{ form_row(form.password) }}
			<div id="strength" class="password-indicator"></div>
		</div>
		
		<div class="row">
			{{ form_row(form.repeatPassword) }}
			<div id="confirm_check" class="password-indicator"></div>
		</div>

        {{ form_rest(form) }}

        <input type="submit" value="{% trans %}Save{% endtrans %}" />

		<input type="hidden" id="#user_email" name="email" value="{{user.email}}" />
		<input type="hidden" name="token" value="{{token}}" />

    </form>



	{% include 'HrOnlineBundle:User:_passwordChecker.html.twig' %}

	
	<!-- password checker and strength indicator start  -->


{% endblock %}